home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.ProDOS < prev    next >
Encoding:
Text File  |  1991-07-01  |  4.4 KB  |  155 lines  |  [TEXT/MPS ]

  1. ; File:  E16.ProDOS
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. invalidCallNum GEQU $0001 ; invalid call number
  9. unclaimedIntErr GEQU $01 ; fatal error - unclaimed interrupt
  10. badPBlockPtr GEQU $05 ; call pointer out of bounds
  11. pdosActiveErr GEQU $06 ; ProDOS is active
  12. pdosBusyErr GEQU $07 ; ProDOS is busy
  13. vcbUnusable GEQU $0A ; fatal error - VCB unusable
  14. fcbUnusable GEQU $0B ; fatal error - FCB unusable
  15. badBlockZero GEQU $0C ; fatal error - block zero allocated illegally
  16. shdwInterruptErr GEQU $0D ; fatal error - interrupt occured while I/O shadowing off
  17.   AIF  C:devNotFound,.past ; device not found
  18. devNotFound GEQU $10
  19. .past
  20. badDevRefNum GEQU $11 ; invalid device reference number
  21. osVersionErr GEQU $11 ; Wrong OS version
  22. badReqCode GEQU $20 ; invalid request code
  23. intTableFull GEQU $25 ; interrupt table full
  24. invalidOperation GEQU $26 ; invalid operation
  25. ioError GEQU $27 ; I/O error
  26. noDevConnect GEQU $28 ; no device connected
  27. writeProtectErr GEQU $2B ; write protect error
  28. diskSwitchErr GEQU $2E ; disk switched error
  29. badPathname GEQU $40 ; invalid pathname syntax
  30. fcbFullErr GEQU $42 ; FCB full error
  31. badFileRefNum GEQU $43 ; invalid file reference number
  32.   AIF  C:pathNotFound,.past ; path not found
  33. pathNotFound GEQU $44
  34. .past
  35. volumeNotFound GEQU $45 ; volume not found
  36.   AIF  C:fileNotFound,.past ; file not found
  37. fileNotFound GEQU $46
  38. .past
  39. dupFileName GEQU $47 ; duplicate file name
  40. volumeFullErr GEQU $48 ; volume full error
  41. dirFullErr GEQU $49 ; directory full error
  42. versionErr GEQU $4A ; version error (incompatible file format)
  43.   AIF  C:badStoreType,.past ; unsupported (or incorrect) storage type
  44. badStoreType GEQU $4B
  45. .past
  46.   AIF  C:eofEncountered,.past ; end-of-file encountered
  47. eofEncountered GEQU $4C
  48. .past
  49. positionRangeErr GEQU $4D ; position out of range
  50. accessErr GEQU $4E ; access not allowed
  51. fileOpenErr GEQU $50 ; file is open
  52. dirDamaged GEQU $51 ; directory structure is damaged
  53. badVolType GEQU $52 ; unsupported volume type
  54.   AIF  C:paramRangeErr,.past ; parameter out of range
  55. paramRangeErr GEQU $53
  56. .past
  57. memoryFullErr GEQU $54 ; out of memory
  58. vcbFullErr GEQU $55 ; VCB full error
  59. dupVolumeErr GEQU $57 ; duplicate volume error
  60. notBlkDevErr GEQU $58 ; not a blocked device
  61.   AIF  C:invalidLevel,.past ; invalid level
  62. invalidLevel GEQU $59
  63. .past
  64. blkNumRangeErr GEQU $5A ; block number out of range
  65. notSameVolErr GEQU $5B ; different volumes found on ChangePath call
  66. notExecSysFile GEQU $5C ; not an executable system file
  67. osUnavailable GEQU $5D ; Operating System/file system not available
  68. deallocateRamErr GEQU $5E ; Cannot deallocate /RAM
  69.   AIF  C:stackOverflow,.past ; Return stack overflow
  70. stackOverflow GEQU $5F
  71. .past
  72. dataUnavailable GEQU $60 ; Data unavailable
  73. endofDirectory GEQU $0061
  74. P_READ_ENABLE GEQU $01
  75. P_WRITE_ENABLE GEQU $02
  76. P_DESTROY_ENABLE GEQU $80
  77. P_RENAME_ENABLE GEQU $40
  78. ; offset constants for BlockRec
  79. oblockDevNum GEQU 0
  80. oblockDataBuffer GEQU 2
  81. oblockNum GEQU 6
  82. ; offset constants for DevNumRec
  83. odevName GEQU 0
  84. odevNum GEQU 4
  85. ; offset constants for DInfoRec
  86. odidevNum GEQU 0
  87. odidevName GEQU 2
  88. ; offset constants for DirEntryRec
  89. oderefNum GEQU 0
  90. odeflags GEQU 2
  91. odebase GEQU 4
  92. odedisplacement GEQU 6
  93. odenameBuffer GEQU 8
  94. odeentryNum GEQU 12
  95. odefileType GEQU 14
  96. odeendOfFile GEQU 16
  97. odeblockCount GEQU 20
  98. odecreateTime GEQU 24
  99. odemodTime GEQU 32
  100. odeaccess GEQU 40
  101. odeauxType GEQU 42
  102. odefileSysID GEQU 46
  103. ; offset constants for EOFRec
  104. oeofRefNum GEQU 0
  105. oeofPosition GEQU 2
  106. ; offset constants for FileIORec
  107. ofileRefNum GEQU 0
  108. odataBuffer GEQU 2
  109. orequestCount GEQU 6
  110. otransferCount GEQU 10
  111. ; offset constants for FileRec
  112. ofrpathname GEQU 0
  113. ofrfAccess GEQU 4
  114. ofrfileType GEQU 6
  115. ofrauxType GEQU 8
  116. ofrstorageType GEQU 12
  117. ofrcreateDate GEQU 14
  118. ofrcreateTime GEQU 16
  119. ofrmodDate GEQU 18
  120. ofrmodTime GEQU 20
  121. ofrblocksUsed GEQU 22
  122. ; offset constants for EraseDiskRec
  123. ;odevName GEQU 0
  124. ovolName GEQU 4
  125. ofileSysID GEQU 8
  126. ; offset constants for InterruptRec
  127. ointNum GEQU 0
  128. ointCode GEQU 2
  129. ; offset constants for MarkRec
  130. omarkRefNum GEQU 0
  131. oposition GEQU 2
  132. ; offset constants for NewLineRec
  133. onewLRefNum GEQU 0
  134. oenableMask GEQU 2
  135. onewlineChar GEQU 4
  136. ; offset constants for OpenRec
  137. oopenRefNum GEQU 0
  138. oopenPathname GEQU 2
  139. oioBuffer GEQU 6
  140. ; offset constants for PathNameRec
  141. ;opathname GEQU 0
  142. onewPathname GEQU 4
  143. ; offset constants for PrefixRec
  144. oprefixNum GEQU 0
  145. oprefix GEQU 2
  146. ; offset constants for QuitRec
  147. oqrquitPathname GEQU 0
  148. oqrflags GEQU 4
  149. ; offset constants for VolumeRec
  150. ovrdeviceName GEQU 0
  151. ovrvolName GEQU 4
  152. ovrtotalBlocks GEQU 8
  153. ovrfreeBlocks GEQU 12
  154. ovrfileSysID GEQU 16
  155.